﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace TruongVuWebsite.UserControls
{
    public partial class ucDocument : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (this.IsPostBack)
            {
                return;
            }

            TruongVu.Business.DocumentModel documentModel = new TruongVu.Business.DocumentModel();
            this.dlDocuments.DataSource = documentModel.GetFirst5();
            this.dlDocuments.DataBind();
        }
    }
}